<%--
  Created by IntelliJ IDEA.
  User: Kohler
  Date: 2022/11/25
  Time: 14:33
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>查看自己的建议</title>
    <link rel="stylesheet" type="text/css" href="../css/common.css"/>
    <link rel="stylesheet" type="text/css" href="../css/main.css"/>
</head>
<body>
<%@include file="./studentSidebar.jsp"%>
<div class="main-wrap">

    <div class="crumb-wrap">
        <div class="crumb-list"><i class="icon-font"></i><a href="studentManage.jsp">首页</a><span class="crumb-step"></span><span class="crumb-name">查看座位情况</span></div>
    </div>
    <div class="search-wrap">
        <div class="search-content">
        </div>
    </div>
    <div class="result-wrap">
        <form name="myform" id="myform" method="post">
            <div class="result-title">
                <div class="result-list">
                </div>
            </div>
            <div class="result-content">
                <table class="result-tab" width="100%">
                    <tr>

                        <th>学号</th>
                        <th>姓名</th>
                        <th>班级</th>
                        <th>标题</th>
                        <th>内容</th>
                    </tr>
                    <c:forEach var="a"  items="${advicelist}">
                    <tr>
                        <td>${a.sno}</td>
                        <td>${a.sname}</td>
                        <td>${a.sclass}</td>
                        <td>${a.title}</td>
                        <td>${a.content}</td>
                        <td>

                        </td>
                        </c:forEach>
                </table>
                <div class="list-page">
                    共${tsum}条记录，当前${cpage}/${tpage}页
                    <a href="http://localhost:8080/Library/student/adviceSelectAllOfStudent?cp=1${searchParams}">首页</a>
                    <a href="http://localhost:8080/Library/student/adviceSelectAllOfStudent?cp=${cpage-1 < 0? 1:cpage-1}${searchParams}">上一页</a>
                    <a href="http://localhost:8080/Library/student/adviceSelectAllOfStudent?cp=${cpage+1>tpage?tpage:cpage+1}${searchParams}">下一页</a>
                    <a href="http://localhost:8080/Library/student/adviceSelectAllOfStudent?cp=${tpage}${searchParams}">尾页</a>
                </div>
            </div>
        </form>
    </div>
</div>
<!--/main-->
</div>
</body>
</html>
